package project.taobao.commons.activemq.consumer;

import javax.jms.Destination;

public interface Consumer {
    /**
     * 监听信息
     * @param queue
     * @return
     */
    Object consumerMessage(Destination queue);

    /**
     * 回返信息
     * @return
     */
    Object getInfomation();
}
